//
//  HealthBreatheViewController.h
//  JiuLe
//
//  Created by 黄鑫 on 16/9/12.
//  Copyright © 2016年 Fine. All rights reserved.
//

#import "CLUIBaseTableViewController.h"
#import "BreatheChartView.h"
#import "VRGCalendarView.h"
#import "UWDatePickerView.h"
#import "HealthFootTableViewCell.h"
#import "GlossaryViewController.h"

typedef NS_ENUM(NSUInteger, RequestBreatheType) {
    RequestBreatheTypeDay,     //日
    RequestBreatheTypeWeek,    //周
    RequestBreatheTypeAge,     //月
};

@interface HealthBreatheViewController : CLUIBaseTableViewController<BaseChartViewDelegate>
@property (assign, nonatomic) RequestBreatheType requestDateType;
@property (assign, nonatomic) RequestBreatheType previousDateType;
@property (strong, nonatomic, nonnull) NSString *strTitle;
@property (strong, nonatomic, nonnull) NSString *count;
@property (strong, nonatomic, nonnull) BreatheChartView *breatheView;
@property (assign, nonatomic) BOOL brokenLine;
@property (strong, nonatomic, nonnull) NSMutableArray *arrYAxis;
@property (strong, nonatomic, nonnull) NSMutableArray *arrXAxisMark;
@property (strong, nonatomic, nonnull) NSMutableArray *arrModel;
@property (strong, nonatomic, nonnull) NSMutableArray *arrMax;
@property (strong, nonatomic, nonnull) NSMutableArray *arrMin;
@property (strong, nonatomic, nonnull) NSDate *selectDate;
@property (strong, nonatomic, nonnull) UIView *maskView;
@property (strong, nonatomic, nonnull) VRGCalendarView *pickerView;
@property (strong, nonatomic, nonnull) UIImageView *imageSelect;



- (nonnull NSMutableAttributedString * )setLabelText:(nonnull NSString *)text perUnitLength:(int)length;

- (void)tipAction:(UIButton *_Nonnull)btn;

- (void)arrModelDataFill;

- (void)setSelectImage;

- (void)setupDateView:(DateType)type;

- (void)hiddenPickerView ;

- (void)helpAction;

- (NSInteger)backIndex:(nullable NSMutableArray *)arr;
@end
